Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcEDateFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 items: start_date, months.

Start_date is a date that represents the start date.

Months is the number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.DateTime that represents the date that is the indicated number of months before or after a specified date (the start_date).
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcEDateFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 items: start_date, months.

    Start_date is a date that represents the start date.

    Months is the number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.

    Return Value

    A System.DateTime value that indicates the evaluate result.
    See Also